package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportRolesDTO;
import com.hunttown.mes.rpc.domain.query.TransportRolesDTOQuery;

/**
 * created by wangjunfu on 2022-01-28 11:17:44
 */
public interface TransportRolesRpcService {

    TransportRolesDTO insert(TransportRolesDTO transportRolesDTO);

    Boolean updateInfoById(TransportRolesDTO transportRolesDTO);

    Boolean updateInfoByQuery(TransportRolesDTOQuery transportRolesDTOQuery);

    TransportRolesDTO selectById(Integer id);

    TransportRolesDTO selectObjByQuery(TransportRolesDTOQuery transportRolesDTOQuery);

    Page<TransportRolesDTO> getListForPage(TransportRolesDTOQuery transportRolesDTOQuery);

    Boolean deleteById(Integer id);
}